interface Person {
    name: string;
    age: number;
    // gender?: string;
    student(): void;
}

let people: Person = {
    name: '张三',
    age: 18,
    student() {
        console.log('我是一个学生');
    }
}
